<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <title>个人中心</title>
    <link href="${contextPath}/resources/css/weui/weui.css" rel="stylesheet">
</head>
<body>
<div class="weui_cells not_margin_top">
    <div class="weui_cell ">
        <div class="weui_cell_hd"><label class="weui_label">昵称</label></div>
        <div class="weui_cell_bd weui_cell_primary">
            ${info.nickname}
        </div>
    </div>
    <div class="weui_cell">
        <div class="weui_cell_hd"><label class="weui_label">头像</label></div>
        <div class="weui_cell_bd weui_cell_primary">
            <img src="${info.headimgurl}" alt="${info.nickname}" width="40px" height="40px">
        </div>
    </div>
    <div class="weui_cell">
        <div class="weui_cell_hd"><label class="weui_label">性别</label></div>
        <div class="weui_cell_bd weui_cell_primary">
            <c:if test="${info.sex eq 1}">男</c:if>
            <c:if test="${info.sex eq 2}">女</c:if>
            <c:if test="${info.sex eq 0}">未知</c:if>
        </div>
    </div>
    <div class="weui_cell ">
        <div class="weui_cell_hd"><label class="weui_label">城市</label></div>
        <div class="weui_cell_bd weui_cell_primary">
            ${info.country}/${info.province}/${info.city}
        </div>
    </div>
    <div class="weui_cell ">
        <div class="weui_cell_hd"><label class="weui_label">积分</label></div>
        <div class="weui_cell_bd weui_cell_primary">
            ${info.memberPoints}
        </div>
    </div>

    <c:if test="${not info.state}">
        <div class="weui_cell weui_cell_warn">
            <div class="weui_cell_hd"><label class="weui_label">状态</label></div>
            <div class="weui_cell_bd weui_cell_primary">
                禁用
            </div>
        </div>
    </c:if>
</div>
<div class="weui_btn_area">
    <a class="weui_btn weui_btn_primary" href="javascript:window.history.go(-1);">返回</a>
</div>
</body>
</html>
